package com.itcs.app.pay.swiftpass.service;

import com.alibaba.fastjson.JSONObject;
import com.itcs.app.pay.model.QrcodePayModel;
import com.itcs.app.pay.model.QrcodePayRes;
import com.itcs.app.pay.model.TradePayModel;

public interface SwiftpassService {
	
	/**
	 * 威富通支付
	 * @param param
	 * @param channel
	 * @return
	 */
	public QrcodePayRes pay(QrcodePayModel qrcodePayModel);
	
	/**
	 * 威富通被扫
	 * @param param
	 * @param channel
	 * @return
	 */
	public JSONObject swipeCardPay(TradePayModel tradePayModel);
	
	/**
	 * 威富通订单查询
	 * @param mhtOrderNo
	 * @param payChannelType
	 * @return
	 */
	public JSONObject queryOrder(String mhtOrderNo,String payChannelType);

	/**
	 * 威富通撤销订单
	 * @param tradePayModel
	 * @return
	 */
	public boolean cancelOrder(TradePayModel tradePayModel);

}
